package com.itheima09;

public class HouYi extends YingXiong {
    public HouYi() {
        super("后羿", 500, 200, 50, 20);
    }

    @Override
    public void speak() {
        System.out.println("周日被我干了，ok");
    }

    @Override
    public void JiNeng1() {
        sharen(new JiNeng("惩戒之箭", 1.5, 20));
    }

    @Override
    public void JiNeng2() {
        sharen(new JiNeng("大爆弹", 2.5, 30));
    }

    @Override
    public void JiNeng3() {
        sharen(new JiNeng("大箭", 3.5, 40));
    }

    @Override
    public void JiNeng4() {
        sharen(new JiNeng("无敌大雕", 0.5, 30));
    }


}
